import * as util from "./util.js";
import List from "@/components/List";
import * as api from "@/plugin/$api/api.js";
import { provide, ref, readonly, reactive } from "vue";
export default {
  install: (app, options) => {
    console.log(app, options);
    app.component("List", List); //项目全局公共组件
    app.config.globalProperties.$util = util; //工具集合
    app.config.globalProperties._api = api; //api入口
    app.config.globalProperties.$ajax = api.ajax; //ajax
    app.config.globalProperties.$api = api.$api; //api入口
  }
};
